list_ = [1, 4, 5, 6, 6]
# while循环
i = 0
while i < len(list_):
        print(list_[i])
        i += 1
else:
    print("i = ", i)
# for循环
for x in list_:
    print(x)

for char in "hello world":
    if char == "o":
        break
    print(char)
